package com.itheima.service;

import com.itheima.entity.Result;
import com.itheima.pojo.User;

public interface UserService {
    public User findByUsername(String username);

    Result updatepassword(String currentPassword, String newPassword,String username);

    Result updateByName(String checkName, String encode);
}
